package com.example.user.controller;

import com.example.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: huangjiazhen
 * @create: 2023/1/11 14:39
 * @description:
 **/
@RestController
@RequestMapping("test")
public class UserController {
    @Autowired
    UserService service;

    @GetMapping("/test")
    public String test() {
        return service.test();
    }
}
